import Vue from 'vue'
import App from './App'

// 引入自定义工具类
import utils from './utils/utils.js'
Vue.prototype.$utils = utils;

// 引入字典数据
import Dicts from './utils/dict.js'
Vue.prototype.$Dicts = Dicts;

// 引入全局Api、
import api from './api/index.js'
Vue.prototype.$api = api;

// 表单验证
import graceChecker from '@/common/graceChecker.js'
Vue.prototype.$graceChecker = graceChecker;

// 挂载全局分享
import share from './utils/share.js' // 导入并挂载全局的分享方法
Vue.mixin(share)

// 自定义导航头
import cuCustom from '@/common/colorui/components/cu-custom.vue'
Vue.component('cu-custom', cuCustom)

Vue.config.productionTip = false

App.mpType = 'app'


const app = new Vue({
	...App
})
app.$mount()